From: Florian Müllner Date: Wed, 11 Mar 2015 00:04:38 +0000 (+0100) Subject: telepathyClient: Close overview and panel when activated X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~1523 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=82479db084e5ea745e33cd99071b3c44014be1a1;p=gnome-shell.git telepathyClient: Close overview and panel when activated There's a strong expectation that delegating or presenting a channel will result in a window being activated, so close both overview and calendar as we do elsewhere. --- diff --git a/js/ui/components/telepathyClient.js b/js/ui/components/telepathyClient.js index e6ade4022..44048d5b8 100644 --- a/js/ui/components/telepathyClient.js +++ b/js/ui/components/telepathyClient.js @@ -356,6 +356,9 @@ const ChatSource = new Lang.Class({ }, open: function() { + Main.overview.hide(); + Main.panel.closeCalendar(); + if (this._client.is_handling_channel(this._channel)) { // We are handling the channel, try to pass it to Empathy or Polari // (depending on the channel type)